//
//  CarFind_NormalFindModel.m
//  CarProjectTest
//
//  Created by lanou on 15/10/24.
//  Copyright © 2015年 完美的宇gogo. All rights reserved.
//

#import "CarFind_NormalFindModel.h"

@implementation CarFind_NormalFindModel


-(void)setValue:(id)value forKey:(NSString *)key
{
    if ([key isEqualToString:@"subBrands"])
    {
        _subBrands = [NSMutableArray array];
        for (NSDictionary *dic in value)
        {
            CarFind_NormalSubBrandModel *model = [[CarFind_NormalSubBrandModel alloc]init];
            [model setValuesForKeysWithDictionary:dic];
            [_subBrands addObject:model];
        }
    }
    else
    {
        [super setValue:value forKey:key];
    }
}



@end
